package com.chen.dao;

import com.chen.pojo.Teacher;
import com.chen.pojo.User;

import java.util.List;

public interface TeacherDao {

    //老师登录
    User getTeacherByUserName(String username);
    //修改密码
    void updatePassword(User user);

    List<Teacher> getTeacherList(Teacher teacher);
    void deleteById(int id);
    void updateById(Teacher teacher);

    Teacher getTeacherById(int id);

    void addTeacher(Teacher teacher);
}
